package com.beta.mq.redis.user;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author yliu2
 * @Date 2023/8/14 15:15
 * @Description 获取当前登录用户，可自定义实现方式
 */
public interface CurrentUserInvoker {

    /**
     * 获取当前登录用户
     * @param request
     * @param response
     * @return
     */
    String getCurrentUserId(HttpServletRequest request, HttpServletResponse response);
}
